home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / applications / 4858 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: hwollman.mitre.org!user
  2. From: hwollman@mitre.org (Herbert Wollman)
  3. Newsgroups: comp.sys.amiga.applications
  4. Subject: Re: TurboCalc
  5. Date: Fri, 19 Apr 1996 15:16:41 -0300
  6. Organization: Mitre Corp.
  7. Message-ID: <hwollman-1904961516410001@hwollman.mitre.org>
  8. References: <w1gu3yg7krl.fsf@isleiv.ifi.uio.no> <4l877f$eug@news.tiac.net>
  9. NNTP-Posting-Host: hwollman.mitre.org
  10.  
  11. From:  Herbert Wollman   hwollman@mitre.org
  12.  
  13. In article <4l877f$eug@news.tiac.net>, dmeyer@tiac.net (David Meyer) wrote:
  14.  
  15. > Uwe Sigurd Valentin Kubosch (uwek@isleiv.ifi.uio.no) wrote:
  16. > : I need a field to be calculated as the cumulative sum of another
  17. > : field like this:
  18. > : 
  19. > : Field1        Field2
  20. > : 
  21. > : 1     1
  22. > : 2     3
  23. > : 3     6
  24. > : 4     10
  25. > : 
  26. > : Except for a zillion if(;;)'s, is there a way to do this in
  27. > : TurboCalc?
  28. > : 
  29. >         Hmmm, the first part is easy enough: SUM
  30. >            A       B
  31. >         1  1       1
  32. >         2  2       3
  33. >         3  3       6
  34. > (you forgot the grid) The formula in B2 should be SUM(A$1:A2). Then copy 
  35. > this down the B column. The "A2" will increase by one at every row, the 
  36. > "A$1" will stay the same. 
  37.  
  38. An faster alternative is;
  39. B1 = A1
  40. B2 = A2+B1
  41. copy B2 down into the rest of the range.
  42.